import { v4 as uuid } from "uuid";

class ModelBase {
  id: string;

  constructor(id: string = "") {
    this.id = id;
  }

  createId(): string {
    return uuid();
  }
}

export { ModelBase };
